package xyz.hzxiao.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 文件上传临时目录配置
 *
 * @author ：FuXx
 * @className : xyz.hzxiao.config.FileUploadConfig
 * @since ：2023/3/7
 */
@Configuration("fileUploadConfig")
@ConfigurationProperties(prefix = "upload")
public class FileUploadConfig {

    /**
     * 分片配置文件临时目录
     */
    private String confFilePath;

    /**
     * 分片文件临时目录
     */
    private String localFilePath;

    public String getConfFilePath() {
        return confFilePath;
    }

    public void setConfFilePath(String confFilePath) {
        this.confFilePath = confFilePath;
    }

    public String getLocalFilePath() {
        return localFilePath;
    }

    public void setLocalFilePath(String localFilePath) {
        this.localFilePath = localFilePath;
    }
}
